package com.sbr.seb.wicket.menu.delivery;

import java.util.Arrays;

import org.apache.wicket.ajax.AjaxRequestTarget;
import org.apache.wicket.ajax.form.AjaxFormComponentUpdatingBehavior;
import org.apache.wicket.markup.html.form.ChoiceRenderer;
import org.apache.wicket.markup.html.form.DropDownChoice;
import org.apache.wicket.markup.html.form.Form;
import org.apache.wicket.model.PropertyModel;
import org.apache.wicket.spring.injection.annot.SpringBean;

import com.sbr.seb.entity.livraison.Application;
import com.sbr.seb.entity.planning.Month;
import com.sbr.seb.planning.dao.ApplicationDao;
import com.sbr.seb.wicket.element.MenuItem;
import com.sbr.seb.wicket.page.BaseSideMenu;
import com.sbr.seb.wicket.page.administration.application.ListVersionsPage;
import com.sbr.seb.wicket.page.delivery.ListDeliveriesPage;
import com.sbr.seb.wicket.page.delivery.SuiviAnomalies;
import com.sbr.seb.wicket.page.delivery.SuiviInstallationRecette;
import com.sbr.seb.wicket.util.PlanningUtil;

public class DeliverySideMenu extends BaseSideMenu {

	private static final long serialVersionUID = 1L;

	
	public DeliverySideMenu(String id) {
    	super(id);
		
    	sideMenuItemList.add(new MenuItem("Versions", ListVersionsPage.class));
		
    	sideMenuItemList.add(new MenuItem("Livraisons", ListDeliveriesPage.class));
		
		MenuItem suiviAnomaliesMenuItem = new MenuItem("Anomalies", SuiviAnomalies.class);
		suiviAnomaliesMenuItem.addSousMenuItem(new MenuItem("Détails Anomalies Corrigées", SuiviAnomalies.class));
		sideMenuItemList.add(suiviAnomaliesMenuItem);
		sideMenuItemList.add(new MenuItem("Installations", SuiviInstallationRecette.class));
		
		
		
    }

}
